package com.longtop.leaning.business;

import java.util.Date;
import java.util.Vector;

import com.longtop.leaning.dao.FltDaoFactory;
import com.longtop.leaning.data.AppData;

public class Query {

	public static boolean query(String fltno, Date fltdateStart, Date fltdateEnd, int fltstatus){
		Vector flights = FltDaoFactory.getFltDao().findFlts(fltno, fltdateStart, fltdateEnd, fltstatus);
		AppData.flights = flights;
		return true;
	}
}
